package order.creator;

import order.product.ChocolateFactory;

/**
 * 具体构造者一MakeChocolateCake
 */
public class MakeChocolateCake implements MakeCake{
    private String cakeType;

    public MakeChocolateCake(String cakeType){
        this.cakeType = cakeType;
    }

    public ChocolateFactory makeChocolateCake(){
        return new ChocolateFactory(cakeType);
    }
}
